package com.hubei.car.swaggerParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 询价添加
 * @author huanghaisheng
 * @create 2019-12-7
 */
@ApiModel("询价添加")
@Data
@Accessors(chain = true)
public class MsInquiryAddParam {

    @ApiModelProperty(value = "产品id", example = "1", required = true)
    @NotNull(message = "产品id不能为空")
    private Long productid;

    @ApiModelProperty(value = "姓名", example = "张三", required = true)
    @NotNull(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "电话", example = "10086", required = true)
    @NotNull(message = "电话不能为空")
    private String mobile;

}
